package com.zzyl.service;


import com.zzyl.base.PageResponse;
import com.zzyl.dto.ReservationDto;
import com.zzyl.vo.ReservationVo;

import java.util.List;
import java.util.Map;

public interface ReservationService {
    Integer getCancelledCount();

    void add(ReservationDto dto);

    PageResponse<ReservationVo> findByPage(int pageNum, int pageSize, Integer status);

    void cancelReservation(Long id);

    List<Map<String, Object>> countByTime(Long time);
}
